package com.ruoyi.project.erp.checkstock.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 checkstock
 * 
 * @author ruoyi
 * @date 2020-09-08
 */
public class Checkstock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 盘点日期 */
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddate;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String code;

    /** 订单状态（保存，审核，发货，签收） */
    @Excel(name = "订单状态", readConverterExp = "保=存，审核，发货，签收")
    private String st;

    /** 分店代码 */
    @Excel(name = "分店代码")
    private String shop;

    /** 分店名称 */
    @Excel(name = "分店名称")
    private String shopname;

    /** 保存时自动的系统时间 */
    @Excel(name = "保存时自动的系统时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sysdt;

    /** 打单人员 */
    @Excel(name = "打单人员")
    private String emp;

    /** 审核人 */
    @Excel(name = "审核人")
    private String creditemp;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creditdt;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 表头单号 */
    @Excel(name = "表头单号")
    private String mcode;

    /** 产品代码 */
    @Excel(name = "产品代码")
    private String pcode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String pname;

    /** 产品规格 */
    @Excel(name = "产品规格")
    private String pstd;

    /** 单位 */
    @Excel(name = "单位")
    private String punit;

    /** 盘点序号 */
    @Excel(name = "盘点序号")
    private Long sn;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private int qty;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDdate(Date ddate) 
    {
        this.ddate = ddate;
    }

    public Date getDdate() 
    {
        return ddate;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setSt(String st) 
    {
        this.st = st;
    }

    public String getSt() 
    {
        return st;
    }
    public void setShop(String shop) 
    {
        this.shop = shop;
    }

    public String getShop() 
    {
        return shop;
    }
    public void setShopname(String shopname) 
    {
        this.shopname = shopname;
    }

    public String getShopname() 
    {
        return shopname;
    }
    public void setSysdt(Date sysdt) 
    {
        this.sysdt = sysdt;
    }

    public Date getSysdt() 
    {
        return sysdt;
    }
    public void setEmp(String emp) 
    {
        this.emp = emp;
    }

    public String getEmp() 
    {
        return emp;
    }
    public void setCreditemp(String creditemp) 
    {
        this.creditemp = creditemp;
    }

    public String getCreditemp() 
    {
        return creditemp;
    }
    public void setCreditdt(Date creditdt) 
    {
        this.creditdt = creditdt;
    }

    public Date getCreditdt() 
    {
        return creditdt;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ddate", getDdate())
            .append("code", getCode())
            .append("st", getSt())
            .append("shop", getShop())
            .append("shopname", getShopname())
            .append("sysdt", getSysdt())
            .append("emp", getEmp())
            .append("creditemp", getCreditemp())
            .append("creditdt", getCreditdt())
            .append("memo", getMemo())
            .toString();
    }

    public String getMcode() {
        return mcode;
    }

    public void setMcode(String mcode) {
        this.mcode = mcode;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPstd() {
        return pstd;
    }

    public void setPstd(String pstd) {
        this.pstd = pstd;
    }

    public String getPunit() {
        return punit;
    }

    public void setPunit(String punit) {
        this.punit = punit;
    }

    public Long getSn() {
        return sn;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public String getSmemo() {
        return smemo;
    }

    public void setSmemo(String smemo) {
        this.smemo = smemo;
    }
}
